const helper = {}

const Rules = {
  user: {
    password: [
      { required: true, message: '请输入当前密码' },
      { min: 6, max: 22, message: '密码长度为 6-22 位', trigger: 'change' },
    ],
    newPassword: [
      { required: true, message: '请输入新密码' },
      { min: 6, max: 22, message: '密码长度为 6-22 位', trigger: 'change' },
    ],
    confirmNewPassword: [
      { required: true, message: '请输入确认密码' },
      { min: 6, max: 22, message: '密码长度为 6-22 位', trigger: 'change' },
    ],
  },
}
export default Rules
